import { Pagination, Keyword } from '@/interface';
import { Method } from 'axios'

//接口返回值类型
export interface ApiResponse {
    code: number | string,
    data: any,
    message: string,
    now?: string,
}

//接口请求类型
export interface ApiRequest {
    url?: string,
    data?: any,
    method?: Method,
    loading?: boolean
}